/*
 * Copyright (C) 2010-2012 Enrique Lara (enrique.posix2.lara@gmail.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
 * limitations under the License.
  */
package trs.wmata;

import app.transitalarm.model.Stop;

import java.io.Serializable;

public final class BusStop implements Stop, Serializable {
    private static final long serialVersionUID = 1693353471317252105L;
    public static final BusStop UNKNOWN = new BusStop();
    private String code = "UNKNOWN";
    private String name = "UNKNOWN";
    private String[] routeCodes = {
                                      "UNKNOWN"
    };

    @Override
    public String getCode() {
        return code;
    }

    public void setCode(final String code) {
        this.code = code;
    }

    @Override
    public String getName() {
        return name;
    }

    public void setName(final String name) {
        this.name = name;
    }

    @Override
    public String[] getRouteCodes() {
        return routeCodes;
    }

    public void setRouteCodes(final String[] routeCodes) {
        this.routeCodes = routeCodes;
    }

    @Override
    public String[] getRouteNames() {
        return getRouteCodes();
    }
}
